'DeclarationPublic Overloads Shared Function CryptEncodeObject( _ ByVal dwCertEncodingType As Integer, _ ByVal lpszStructType As Integer, _ ByRef pvStructInfo As Crypto.CERT_PUBLIC_KEY_INFO, _ ByVal pbEncoded() As Byte, _ ByRef pcbEncoded As Integer _ ) As Boolean
'UsageDim dwCertEncodingType As Integer Dim lpszStructType As Integer Dim pvStructInfo As Crypto.CERT_PUBLIC_KEY_INFO Dim pbEncoded() As Byte Dim pcbEncoded As Integer Dim value As Boolean value = Crypto.NativeMethods.CryptEncodeObject(dwCertEncodingType, lpszStructType, pvStructInfo, pbEncoded, pcbEncoded)
public static bool CryptEncodeObject( int dwCertEncodingType, int lpszStructType, ref Crypto.CERT_PUBLIC_KEY_INFO pvStructInfo, byte[] pbEncoded, ref int pcbEncoded )
public: static bool CryptEncodeObject( int dwCertEncodingType, int lpszStructType, Crypto.CERT_PUBLIC_KEY_INFO% pvStructInfo, array<byte>^ pbEncoded, int% pcbEncoded )
Parameters
- dwCertEncodingType
- lpszStructType
- pvStructInfo
- pbEncoded
The value of this parameter can be
null(Nothingin Visual Basic).- pcbEncoded